//package com.yiwei.hdb.impl;
//
//import android.content.Context;
//
//import com.yiwei.hdb.constant.Const;
//import com.yiwei.hdb.http.CallBackListener;
//import com.yiwei.hdb.http.InfoCallBack;
//import com.yiwei.hdb.http.InterfaceServer;
//import com.yiwei.hdb.model.LoginAndRegisterModel;
//import com.yiwei.hdb.model.RelativeContactModel;
//import com.yiwei.hdb.model.RequestModel;
//import com.yiwei.hdb.model.ResponseModel;
//
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
///**
// * Created by xsooy-pc on 2017/4/24.
// */
//
//public class RelativeInfoImpl {
//
//    public static void  getRelativeInfo(Context context, String dealId, List<RelativeContactModel> contactList, final InfoCallBack callBack){
//        Map<String, Object> mapData = new HashMap<String, Object>();
//        mapData.put("deal_id", dealId);
//        mapData.put("contacts", contactList);
//        RequestModel model = new RequestModel(mapData);
//        InterfaceServer.getInstance(context.getApplicationContext()).requestInterface(Const.RELATIVES_URL, Const.RequestMethod.POST, model, Const.DEFAULT_TIMEOUT,new CallBackListener<ResponseModel>(ResponseModel.class,callBack));
//    }
//}
